﻿@using RazorEngine.Templating
@using codeGen.Model;
@*  @inherits TemplateBase<ClassMetadata>; *@

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Test
{
    /// <summary>
    /// @Model.ClassComment 
    /// </summary>
    public class @("View"+Model.ClassName)
    {
        /// <summary>
        /// @(Model.ClassComment+"主键")
        /// </summary>
        public long Id {get;set;}
    @foreach (var prop in Model.Fields)
    {
        @:/// <summary>
        @:/// @prop.FieldComment 
        @:/// </summary>
        @:public @prop.FieldType @prop.FieldName { get; set; }
    }
    }
}